/**
 * king
 */
package cn.scau.info.chao;

/**
 * @author king
 *
 */
public class Line {
	private Coordinate a,b;

	/**
	 * @param a
	 * @param b
	 */
	public Line(Coordinate a, Coordinate b) {
		super();
		this.a = a;
		this.b = b;
	}

	/**
	 * @return the a
	 */
	public Coordinate getA() {
		return a;
	}

	/**
	 * @param a the a to set
	 */
	public void setA(Coordinate a) {
		this.a = a;
	}

	/**
	 * @return the b
	 */
	public Coordinate getB() {
		return b;
	}

	/**
	 * @param b the b to set
	 */
	public void setB(Coordinate b) {
		this.b = b;
	}
	
}
